//dirWork.h
#ifndef DIRWORK_H
#define DIRWORK_H

#include <stdio.h>
#include <unistd.h>
#include <list>
#include <string>
#include <dirent.h>

int getDirFiles(std::list<std::string>& filesList, std::string dirWay); //while not NULL
int fileExists(std::string way);

#endif
